/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2021-11-27     AlgoIdeas       the first version
 */
#ifndef APPLICATIONS_PAGE_H_
#define APPLICATIONS_PAGE_H_

typedef enum _page_type {
    PAGE_STARTUP = 0,
    PAGE_DATE_TIME,
    PAGE_LOCATION,
    PAGE_SPEED,
    PAGE_MAX,
}page_type_t;

typedef enum _page_state {
    PAGE_STATE_LOCATION = 0x1,
    PAGE_STATE_TRACK = 0x2,
}page_state_t;

void page_init();
void page_switch(rt_int32_t index);
void page_update();

#endif /* APPLICATIONS_PAGE_H_ */
